October 22, 2024
v3 Update Registration Document
Description:
update a registration document
URI:
https://api.multitel.net/v3/update_document/${document_id}
Parameters:
Required: - document_id: Unique ID of the document. Optional: - first_name: First name of the identity document - last_name: Last name of the identity document. - phone_number: phone number of the identity. - city: City name of the identity - postal_code: Postal code of the identity - address: Address of the identity - nationality:Nationality Country ISO code - company_name: Company name of the business identity. (required for the only business identity documents) - company_reg_number: Company registration number of the business identity. (required for the only business identity documents) - vat_id: Company VAT ID of the business identity. - incorporation_country:Incorporation Country ISO code - birth_date: Birth date of the identity in ISO 8601 format. - id_number: Company’s representative ID number of the business identity. - personal_tax_id: Tax ID of the identity. - description: Description of the document. - identity_encryptfiles[]: List of encrypted files with identity proof type - address_encryptfiles[]: List of encrypted files with address proof type - signature: Signature code encoded with base64
Methods:
POST
Sample Output:
{
"status": {
"code": 200,
"msg": "Successfully Saved."
},
"response": ""
}
Sample Code:
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://api.multitel.net/v3/update_document',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'POST',
CURLOPT_POSTFIELDS => array('company_name' => 'Company Name','company_reg_number' => '123456','vat_id' => '123456','incorporation_country' => 'US','nationality' => 'US','address_description' => 'address','first_name' => 'First Name','last_name' => 'Last Name','phone_number' => '12345678901','birth_date' => '2000-01-01','id_number' => '123','personal_tax_id' => '','description' => '','city' => 'City','postal_code' => '1000','address' => 'Address','identity_encryptfiles[]' => '3a0334a5-ce0d-4fc5-a8fc-321231fad709','address_encryptfiles[]' => '6642824a-593e-4c3d-87de-ba9442c34aa6','signature' => 'iVBORw0KGgoAA'),
CURLOPT_HTTPHEADER => array(
'Content-Type: application/json',
'Accept: application/json',
'Authorization: Basic YWRtaW46Vnc0OXB11',
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;